<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<!-- TemplateBeginEditable name="doctitle" -->
	<title>Venda realizada com sucesso!</title>
	<!-- TemplateEndEditable -->
	<!-- TemplateBeginEditable name="head" -->
	<!-- TemplateEndEditable -->
	
	<link rel="stylesheet" href="style.css" type="text/css">
</head>

<body>

<div class="container">
  <div class="header"><a href="#"><img src="banner.jpg" alt="Insert Logo Here" name="Insert_logo" width="960" height="90" id="Insert_logo" style="background: black; display:block;" /></a>
    <!-- end .header --></div>
  <div class="sidebar1">
    <ul class="nav">
      <li><a href="paginaPrincipal.jsp">P&aacute;gina Principal</a></li>
      <li><a href="#">Vendas</a></li>            
      <li><a href="/Concessionaria/Concessionaria?operacao=cadVendas&corrente=14">Cadastrar</a></li>      
    </ul>

	<%@page import="java.util.* "%>
	<%@page import="org.dw.concessionaria.BEAN.VendaBEAN" %>
	
    <table width="180" border="0" style="text-align:center">
  <tr>
    <th scope="row" bgcolor="#ADB96E">Login</th>
  </tr>
  <tr>
    <th scope="row">Ola, <%=session.getAttribute("logado") %></th>
  </tr>
  <tr>
    <th scope="row"><input type="button" name="voltar" id="button" value="Logout" /></th>
  </tr>
</table>

	<%
    	VendaBEAN venda = new VendaBEAN();		
    	<!--venda = (VendaBEAN)session.getAttribute("vendaSelecionada");-->
		%>

    <!-- end .sidebar1 --></div>
  <div class="content">
    <h2>Venda realizada com sucesso!</h2>
    <form id="form1" name="form1" method="post" action="">
    <div class="table_form">
    <table width="698" border="0" style="text-align: left" cellspacing="10px">
      <tr>
        <th width="182" scope="row">Nota Fiscal</th>
        <td width="360"><%=venda.getNotafiscal()%></td>
      </tr>
      <tr>
        <th width="182" scope="row">Carro</th>
        <td width="360"><%=venda.getChassiNum()%></td>
      </tr>
      <tr>
        <th width="182" scope="row">Vendedor</th>
        <td width="360"><%=venda.getRg_vendedor()%></td>
      </tr>
      <tr>
        <th width="182" scope="row">Cliente</th>
        <td width="360"><%=venda.getRg_cliente()%></td>
      </tr>
      

      
    </table>        
    </div>
        <input type="hidden" size="18" name="corrente" value="16" />
    </form>
    <p>&nbsp;</p>
    <h2>&nbsp;</h2>

    <!-- end .content --></div>
  <div class="footer">
    <p>    
    </p>
    <!-- end .footer --></div>
  <!-- end .container --></div>
</body>
</html>
